package com.sbtr.business.classify.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * 裁剪条件关联 实体类
 *
 * @author dgl
 * @since 2023-09-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("a_algo_template_condition")
@ApiModel(value="AlgoTemplateCondition对象")
public class AlgoTemplateCondition extends Model<AlgoTemplateCondition> {

    @TableId(value = "id")
    private Long id;

    @ApiModelProperty(value = "算法模板版本id")
    private Long algoTemplateVersionId;

    @ApiModelProperty(value = "算法条件id")
    private Long algoConditionId;

    private String creater;

    @ApiModelProperty(value = "算法模板id")
    private Long algoTemplateId;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
